package com.css.zfzx.sjcj.modules.qhsitushearwave.service;

import com.alibaba.fastjson.JSONObject;
import com.css.zfzx.sjcj.modules.qhsitushearwave.repository.entity.QhSituShearWaveEntity;
import com.css.zfzx.sjcj.modules.qhsitushearwave.viewobjects.QhSituShearWaveQueryParams;
import com.css.bpm.platform.sys.dict.repository.entity.DictItemEntity;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * @author aa
 * @date 2020-11-12
 */

public interface QhSituShearWaveService {

    public JSONObject queryQhSituShearWaves(QhSituShearWaveQueryParams queryParams, int curPage, int pageSize);

    public QhSituShearWaveEntity getQhSituShearWave(String id);

    public QhSituShearWaveEntity saveQhSituShearWave(QhSituShearWaveEntity qhSituShearWave);

    public QhSituShearWaveEntity updateQhSituShearWave(QhSituShearWaveEntity qhSituShearWave);

    public void deleteQhSituShearWaves(List<String> ids);

    List<DictItemEntity> getValidDictItemsByDictCode(String dictCode);

    String findByDictCodeAndDictItemCode(String dictCode, String dictItemCode);

    public void submitQhSituShearWaves(String ids);

    String importExcel(MultipartFile file);

    String exportExcel(String ids, HttpServletResponse response);

    String exportExcel(List<QhSituShearWaveEntity> areaEntities, HttpServletResponse response);

    public JSONObject dataQualityCheck(String drillCodes);

    public JSONObject dataQualityCheck(List<QhSituShearWaveEntity> qhSituShearWaveList);
}
